<?php
	$currentItem = "NewsAdmin";
?>
<include file="./Tpl/default/Admin/Public/header.html" />
<include file="./Tpl/default/Admin/Public/sidebar.html" />

<!--网站首页学院要闻滚动图片管理-->
<div>

	
	
	<ul>
	
		<li>
			<h2>
				{$news['title']}
			</h2>
		</li>
		<li>
			<h3>
				{$news['subtitle']}
			</h3>
		</li>
		<li>
			<label>当前的展示图片：</label>
			
			<?php 
				if( $news['showImage'] != null){
					
				
			?>	
				<img  src="__PUBLIC__/newsShowImage/<?php echo $news['showImage']?>">
			<?php 
				}else{
					echo '该新闻目前没有展示图片！';
				} 
					
			?>
			
		</li>
	
	</ul>

<br>


	<form action="__APP__/Admin/NewsAdmin/commitShowImg" method="post" enctype="multipart/form-data">
		<ul>
			<li>
				<input type="file" name="showImage">
			</li>
			<li>
				<input type="hidden" name="news_id" value="<?php echo $news['news_id']?>">
				<input type="submit" value="上传">
			</li>
		</ul>

	</form>

<div>
	<strong>
		<a href="__APP__/Admin/NewsAdmin/manageShowImg/">返回新闻管理首页</a>
	</strong>
</div>
</div>

<include file="./Tpl/default/Admin/Public/footer.html" />


